internal/strconv.decimalSlice.nd (field)
25 uses
internal/strconv (current package)
ftoa.go#L142: prec = max(digs.nd-1, 0)
ftoa.go#L144: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L146: prec = digs.nd
ftoa.go#L197: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L201: prec = digs.nd - 1
ftoa.go#L203: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L205: prec = digs.nd
ftoa.go#L220: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L234: if eprec > digs.nd && digs.nd >= digs.dp {
ftoa.go#L235: eprec = digs.nd
ftoa.go#L245: if prec > digs.nd {
ftoa.go#L246: prec = digs.nd
ftoa.go#L251: prec = digs.nd
ftoa.go#L401: nd, dp int
ftoa.go#L413: if d.nd != 0 {
ftoa.go#L422: m := min(d.nd, prec+1)
ftoa.go#L435: if d.nd == 0 { // special case: 0 has exponent 0
ftoa.go#L468: m := min(d.nd, d.dp)
ftoa.go#L482: if j := d.dp + i; 0 <= j && j < d.nd {
ftoadbox.go#L178: d.nd = len(d.d)
ftoadbox.go#L179: d.dp = d.nd + exp
ftoafixed.go#L179: d.nd = digits
ftoafixed.go#L180: for d.d[d.nd-1] == '0' {
ftoafixed.go#L181: d.nd--
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |